﻿using Ay.MvcFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hotel.UI.Models
{
    public class RoomStatusModel : Model
    {
        private string no;
        /// <summary>
        /// 
        /// </summary>
        public string No
        {
            get
            {
                return this.no;
            }
            set
            {
                this.no = value;
                this.Set<string>(ref this.no, value, true, "");
            }
        }
        public string Type { get; set; }

        public string Floor { get; set; }

        public string Building { get; set; }

        public int GuestCount { get; set; } = 0;

        public override string ToString()
        {
            return this.Building + ", " + this.Building + "";
        }
    }
}
